/*
 * Author: Kishore Reddy
 * Url: http://commonlibrarynet.codeplex.com/
 * Title: CommonLibrary.NET
 * Copyright: � 2009 Kishore Reddy
 * License: LGPL License
 * LicenseUrl: http://commonlibrarynet.codeplex.com/license
 * Description: A C# based .NET 3.5 Open-Source collection of reusable components.
 * Usage: Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ComLib.Entities;
using ComLib.LocationSupport;
using ComLib.ValidationSupport;



namespace ComLib.Web.Modules.Widgets
{
    /// <summary>
    /// WidgetInstance entity.
    /// </summary>
    public partial class WidgetInstance : ActiveRecordBaseEntity<WidgetInstance>, IEntity
    {
        /// <summary>
        /// Creates a new instance of BlogPost and 
        /// initializes it with a validator and settings.
        /// </summary>
        /// <returns></returns>
        public static WidgetInstance New()
        {
            WidgetInstance entity = new WidgetInstance(); 
            return entity;
        }       


        		/// <summary>
		/// Get/Set AppId
		/// </summary>
		public int AppId { get; set; }


		/// <summary>
		/// Get/Set WidgetId
		/// </summary>
		public int WidgetId { get; set; }


		/// <summary>
		/// Get/Set WidgetLength
		/// </summary>
		public int WidgetLength { get; set; }


		/// <summary>
		/// Get/Set Header
		/// </summary>
		public string Header { get; set; }


		/// <summary>
		/// Get/Set Zone
		/// </summary>
		public string Zone { get; set; }


		/// <summary>
		/// Get/Set Group
		/// </summary>
		public string Group { get; set; }


		/// <summary>
		/// Get/Set DefName
		/// </summary>
		public string DefName { get; set; }


		/// <summary>
		/// Get/Set Roles
		/// </summary>
		public string Roles { get; set; }


		/// <summary>
		/// Get/Set Args
		/// </summary>
		public string Args { get; set; }


		/// <summary>
		/// Get/Set SortIndex
		/// </summary>
		public int SortIndex { get; set; }


		/// <summary>
		/// Get/Set MaxRecords
		/// </summary>
		public int MaxRecords { get; set; }


		/// <summary>
		/// Get/Set IsActive
		/// </summary>
		public bool IsActive { get; set; }


		/// <summary>
		/// Get/Set IsPublic
		/// </summary>
		public bool IsPublic { get; set; }


		/// <summary>
		/// Get/Set IsHighlighted
		/// </summary>
		public bool IsHighlighted { get; set; }


		/// <summary>
		/// Get/Set IsRolesBased
		/// </summary>
		public bool IsRolesBased { get; set; }


		/// <summary>
		/// Get/Set RefModel
		/// </summary>
		public string RefModel { get; set; }


		/// <summary>
		/// Get/Set RefName
		/// </summary>
		public string RefName { get; set; }


		/// <summary>
		/// Get/Set RefGroup
		/// </summary>
		public string RefGroup { get; set; }


		/// <summary>
		/// Get/Set RefEmail
		/// </summary>
		public string RefEmail { get; set; }


		/// <summary>
		/// Get/Set RefUrl
		/// </summary>
		public string RefUrl { get; set; }


		/// <summary>
		/// Get/Set RefSource
		/// </summary>
		public string RefSource { get; set; }


		/// <summary>
		/// Get/Set RefKey
		/// </summary>
		public string RefKey { get; set; }


		/// <summary>
		/// Get/Set RefContent
		/// </summary>
		public string RefContent { get; set; }


		/// <summary>
		/// Get/Set RefId1
		/// </summary>
		public int RefId1 { get; set; }


		/// <summary>
		/// Get/Set RefId2
		/// </summary>
		public int RefId2 { get; set; }


		/// <summary>
		/// Get/Set RefDate1
		/// </summary>
		public DateTime RefDate1 { get; set; }


		/// <summary>
		/// Get/Set RefDate2
		/// </summary>
		public DateTime RefDate2 { get; set; }


		/// <summary>
		/// Get/Set RefFlag1
		/// </summary>
		public bool RefFlag1 { get; set; }


		/// <summary>
		/// Get/Set RefFlag2
		/// </summary>
		public bool RefFlag2 { get; set; }


		/// <summary>
		/// Get/Set RefInt1
		/// </summary>
		public int RefInt1 { get; set; }


		/// <summary>
		/// Get/Set RefInt2
		/// </summary>
		public int RefInt2 { get; set; }




        
        
    }
}
